<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/2/28
 * Time: 21:58
 */

namespace app\admin\validate;


use think\Validate;

class PositionContent extends Validate
{
    protected $rule = [
        'name'   => 'require|min:2',
        'status' => 'require|number|between:0,1',
    ];
}